Skip to content

enable bound on PartialOrd#35

Closed
cdisselkoen wants to merge 1 commit into
magiclen:masterfrom
cdisselkoen:master
Closed

enable bound on PartialOrd#35
cdisselkoen wants to merge 1 commit into
magiclen:masterfrom
cdisselkoen:master

Conversation

@cdisselkoen

Copy link
Copy Markdown

With educe 0.6.0, the syntax PartialOrd(bound(...)) is not accepted, even though the similar syntax PartialEq(bound(...)) is. The README indicates this syntax should be accepted. This PR makes a small change that seems to enable this syntax, and it works in a simple test case on my machine.

Signed-off-by: Craig Disselkoen <cdiss@amazon.com>
@magiclen

magiclen commented Jul 5, 2026

Copy link
Copy Markdown
Owner

Thanks for the fix. The current master branch (v0.7.0) now supports PartialOrd(bound(...)), including the case where Ord is derived at the same time.

@magiclen magiclen closed this Jul 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants